import { Component, OnInit, Input } from '@angular/core';

@Component({
  selector: 'test-child111',
  templateUrl: './child111.component.html',
  styleUrls: ['./child111.component.scss']
})
export class Child111Component implements OnInit {

  @Input()
  public username:string = "默认子标题";
  @Input()
  public userObj:any = {};
  constructor() { }

  ngOnInit() {
  }
  ngOnChanges() {
    console.log("ngOnChanges...");
  }
  ngDoCheck() {
    console.log("ngDoCheck...");
  }

}
